Risk model-driven CDS